package jmine.tec.services.export.export;

import java.util.ArrayList;
import java.util.List;

import jmine.tec.services.api.export.AbstractServiceFillerEntityExporter;
import jmine.tec.services.api.export.DefaultExportAction;
import jmine.tec.services.export.impl.ExportUtils;
import jmine.tec.services.export.services.AssociatedMockEntityService;
import bancosys.tec.services.export.domain.AssociatedMockEntity;

public class DependencyAssociatedMockEntityExporter extends AbstractServiceFillerEntityExporter<AssociatedMockEntity> {

    public DependencyAssociatedMockEntityExporter() {
        super(new AssociatedMockEntityService(), DefaultExportAction.INCLUIR);
    }

    @Override
    public List<Object> exportBefore(AssociatedMockEntity entity) {
        List<Object> before = new ArrayList<Object>();
        before.add(ExportUtils.wrap(DefaultExportAction.INCLUIR, entity.getMock()));
        return before;
    }
}
